/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package csse3004.GD.PAdmin;

import java.util.ArrayList;

/**
 *
 * @author Tom McNair - S41758984
 */
public class MasterList {
    private int userID;
    private String username;
    private ArrayList<Integer> assignedPolls;

    public ArrayList<Integer> getAssignedPolls() {
        return assignedPolls;
    }

    public void setAssignedPolls(ArrayList<Integer> assignedPolls) {
        this.assignedPolls = assignedPolls;
    }
    
    public void addAssignedPoll(int pollID) {
        this.assignedPolls.add(pollID);
    }

    public int getUserID() {
        return userID;
    }

    public void setUserID(int userID) {
        this.userID = userID;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
}
